package workflow

import (
	"zstackgo/pkg/header/errorcode"
)

type FlowTrigger interface {
	Fail(errorCode *errorcode.ErrorCode)     // call errorHandle
	Next()                                   // do next flow
	SetError(errorCode *errorcode.ErrorCode) //SetError, next Next() will call errorHandle
}
